<?php

namespace App\Model\Dao;

use \Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 * @ORM\Table(name="shortnew")
 */
class Shortnew extends \Kdyby\Doctrine\Entities\BaseEntity{

    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue
     */
    private $id;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $title;
    
    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $photo;
    
    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $link;
    
    /**
     * @ORM\Column(type="text")
     */
    private $content;
    
    public function getId() {
      return $this->id;
    }

    public function getTitle() {
      return $this->title;
    }

    public function getPhoto() {
      return $this->photo;
    }

    public function getLink() {
      return $this->link;
    }

    public function getContent() {
      return $this->content;
    }

    public function setId($id) {
      $this->id = $id;
    }

    public function setTitle($title) {
      $this->title = $title;
    }

    public function setPhoto($photo) {
      $this->photo = $photo;
    }

    public function setLink($link) {
      $this->link = $link;
    }

    public function setContent($content) {
      $this->content = $content;
    }
}

